package com.atguigu.auto_integer;

import java.util.concurrent.atomic.AtomicInteger;

public class DemoCLass {

    public static void main(String[] args) {
        int a = 0;
        Integer b = new Integer(0);
//    Integer c = Integer.valueOf(0);

        AtomicInteger c = new AtomicInteger(0);
        System.out.println(c.getAndIncrement());    //i++
        System.out.println("c = " + c);
    }
}
